package com.joker.orange.domain.vo;

import java.math.BigDecimal;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.joker.common.annotation.ExcelDictFormat;
import com.joker.common.convert.ExcelDictConvert;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 动漫信息视图对象 t_anime_info
 *
 * @author Joker
 * @date 2024-06-09
 */
@Data
@ExcelIgnoreUnannotated
public class AnimeInfoVo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 唯一标识
     */
    @ExcelProperty(value = "唯一标识")
    private Long id;

    /**
     * 分类ID
     */
    @ExcelProperty(value = "分类ID")
    private Long categoryId;

    /**
     * 动漫封面
     */
    @ExcelProperty(value = "动漫封面")
    private String animeCover;

    /**
     * 动漫名称
     */
    @ExcelProperty(value = "动漫名称")
    private String animeName;

    /**
     * 当前集数
     */
    @ExcelProperty(value = "当前集数")
    private String currentEpisode;

    /**
     * 更新到第几集
     */
    @ExcelProperty(value = "更新到第几集")
    private String updateEpisode;

    /**
     * 共多少集
     */
    @ExcelProperty(value = "共多少集")
    private String episodeTotal;

    /**
     * 动漫介绍
     */
    @ExcelProperty(value = "动漫介绍")
    private String animeIntroduce;

    /**
     * 动漫标签
     */
    @ExcelProperty(value = "动漫标签")
    private String animeLabel;

    /**
     * 动漫类型（0-连载、1-完结）
     */
    @ExcelProperty(value = "动漫类型", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "0=-连载、1-完结")
    private String animeType;

    /**
     * 点赞数量
     */
    @ExcelProperty(value = "点赞数量")
    private Integer likeNum;

    /**
     * 收藏数量
     */
    @ExcelProperty(value = "收藏数量")
    private Integer collectNum;

    /**
     * 浏览数量
     */
    @ExcelProperty(value = "浏览数量")
    private Integer lookNum;

    /**
     * 收费类型（0-免费看、1-VIP可看、2-钻石观看）
     */
    @ExcelProperty(value = "收费类型", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "0=-免费看、1-VIP可看、2-钻石观看")
    private String chargeType;

    /**
     * 消耗钻石
     */
    @ExcelProperty(value = "消耗钻石")
    private BigDecimal consumeDiamond;

    /**
     * 是否置顶（0-是、1-否）
     */
    @ExcelProperty(value = "是否置顶", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "0=-是、1-否")
    private String isTop;

    /**
     * 创建时间
     */
    @ExcelProperty(value = "创建时间")
    private Date createTime;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;


}
